from basic.utils.asserts import asserts
from basic.UIParent import UIParent
from commen.page.ann.dataSecretaryPage import dataSecretaryPage
from commen.page.ann.myPage import myPage


class DataSecretaryCase(UIParent):

    @classmethod
    def test_dataCheck(self):
        '''数据秘书页面校验'''

        # 登录
        myPage.loginByStatu()

        # 点击数据秘书
        dataSecretaryPage.clickData()
        dataText = dataSecretaryPage.getData()
        asserts.true(dataText, "数据秘书页面校验")




